/* 基础页面样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
}

/* 登录容器样式 */
.login-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.login-container h2 {
    text-align: center;
    margin-top: 0;
    font-size: 28px;
    color: #333;
}

.login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container input {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
}

.login-container button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #007BFF;
    color: #fff;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #0056b3;
}

.login-container p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.login-container a {
    color: #007BFF;
    text-decoration: none;
}

.login-container a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        width: 90%;
        max-width: 350px;
    }

    .login-container input, .login-container button {
        max-width: 100%;
    }

    .login-container h2 {
        font-size: 24px;
    }
}
